/*头部固定导航开始*/
.header {
	width: 100%;
	background-color: rgba(0,0,0,0.7);
	height: 40px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
}
.headerwrap {
	width: 960px;
	margin: 0 auto;
}
.headerwrap h1 {
	float: left;
}
	.headerwrap h1 a {
		display: block;
		width: 200px;
		height: 40px;
		background-color: gray;
	}
.topnav {
	float: left;
}
	.topnav li {
		float: left;
		line-height: 40px;
		padding: 0 10px;
	}
	.topnav li a {
		color: #cccccc;
		font-size: 14px;
	}
.search {
	float: right;
	height: 40px;
	width: 200px;
	line-height: 40px;
}
	.search input[type="text"] {
		height: 24px;
		width: 174px;
		border: none;
		padding: 0 1px;
		font-size: 13px;
		line-height: 24px;
		color: #888888;
		float: left;
		margin-top: 8px;
		background-color: #336699;
	}
	.search input[type="submit"] {
		height: 24px;
		width: 24px;
		border: none;
		padding: 0;
		line-height: 24px;
		color: #888888;
		float: left;
		margin-top: 8px;
		background-color: #339966;
		text-indent: -9999em;
	}
.topfun {
	float: right;
}
	.topfun>li {
		float: left;
		line-height: 40px;
	}
	.topfun>li:hover ul {
		display: block;
	}
	.topfun li>a {
		display: block;
		height: 40px;
		padding: 0 10px;
	}
	.topfun li a {
		color: #cccccc;
		text-align: center;
	}
	.user {
		position: relative;
	}
	.message {}
	.subfun {
		display: none;
		position: absolute;
		top: 40px;
		right: 0;
		background: rgba(0,0,0,0.7);
		width: 100px;
	}
	.subfun li a {
		text-align: right;
	}
	.subfun a:focus,
	.subfun a:hover {
		text-decoration: none;
	}
	.subfun li:focus,
	.subfun li:hover {
		background: rgba(0,0,0,0.3);
	}
/*头部固定导航结束*/